﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Xml.Linq;

namespace XamlaApp.ViewModels
{
    public class EllipseViewModel : ShapeViewModel
    {
        internal override System.Xml.Linq.XElement GenerateXaml(System.Xml.Linq.XElement element)
        {
            var el = new XElement("Ellipse");

            //pass it to base view models for additional attributes
            var finishedXaml = base.GenerateXaml(el);

            //add it to the root xaml
            element.Add(finishedXaml);
            return element;
        }
    }
}
